package backup;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author kjysmu
 *
 */

/*

public class NewsCategoryTerms extends DocumentTerms{

	String categoryName;
	
	public String getCategoryName(){
		return categoryName;
	}
	
	public void setCategoryName( String value ){
		
		setName(value);
		categoryName = value;
	
	}
	
	List<DocumentTerms> newsTermsList = new ArrayList<DocumentTerms>();
	
	public void AddNewsTerms(DocumentTerms newsTerms){
		this.newsTermsList.add(newsTerms);
	}
	
	public void IntegrateNewsList(){
		
		for(DocumentTerms newsTerms : newsTermsList){
		
	        for(Map.Entry<String, Double> term : newsTerms.getTermCounts().entrySet()){
	        	
	        	AddTerm(term.getKey(), term.getValue());
	        	
	        }
	        newsTerms.ClearTermCounts();

        }
		
	}
}

*/
